package o;

public abstract class dod {
    public static boolean ˊ(String str, boolean z) {
        String ˋ = ˋ(str);
        return dof.ˋ(ˋ) ? z : Boolean.valueOf(ˋ).booleanValue();
    }

    public static String ˋ(String str) {
        String str2 = "";
        try {
            Class cls = Class.forName("android.os.SystemProperties");
            return (String) cls.getMethod("get", new Class[]{String.class}).invoke(cls, new Object[]{str});
        } catch (Throwable e) {
            Logger.ˋ("PropertyUtil", "IllegalArgumentException get system properties error!", e);
            return str2;
        } catch (Throwable e2) {
            Logger.ˋ("PropertyUtil", "ClassNotFoundException get system properties error!", e2);
            return str2;
        } catch (Throwable e22) {
            Logger.ˋ("PropertyUtil", "NoSuchMethodException get system properties error!", e22);
            return str2;
        } catch (Throwable e222) {
            Logger.ˋ("PropertyUtil", "IllegalAccessException get system properties error!", e222);
            return str2;
        } catch (Throwable e2222) {
            Logger.ˋ("PropertyUtil", "InvocationTargetException get system properties error!", e2222);
            return str2;
        }
    }
}
